package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 消息记录表 app_news_log
 * 
 * @author xiaoxx
 * @date 2019-05-14
 */
@Getter
@Setter
@Data
@TableName("app_news_log")//@TableName中的值对应着表名
public class AppNewsLog implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	@TableId(type = IdType.AUTO)
	private Integer tableId;
	/** 用户ID */
	private Long userId;
	/** 头像 */
	private String iconUrl;
	/** 标题 */
	private String newsTitle;
	/** 内容 */
	private String newsContent;
	/**类型以
	* /fanliapp/src/main/java/com/eco/fanliapp/common/constant/NewsEnumLog.java
	 * 这个文件里面枚举为准*/
	private Integer newsType;

	/**金额*/
	private BigDecimal newsMoney;
	/** 创建时间 */
	private Long createTime;
	/**  */
	private Long updateTime;
	/**  是否已读*/
	private Integer hasRead;

	private String jumpLink;//跳转连接


	private Integer linkType;//跳转taobao

	private Integer jumpType;//推送方式 4001 纯消息推送,  4002 html推送,4003消息界面推送,4004任务,4005免单,4006邀请,4007商品详情

	@TableField(exist = false)
	private String dateRemark;
	@TableField(exist = false)
	private String redEnvelopes;
	@TableField(exist = false)
	private String userImgUrl;
}
